<?php

namespace Addons\MoreCustomer\Controller;
use Home\Controller\AddonsController;

class MoreCustomerController extends AddonsController{
    public function ToMoreCustomer(){
//        D ( 'Addons://MoreCustomer/MoreCustomer' )->MoreCustomer();
//        $this->display ( 'morecustomer' );
//        $access_token = get_access_token();
//        $data = array('touser'=>'oUOAMtzprZJiN2gc7e0D6GE-QRcs', 'msgtype'=>'text', 'text'=>array('content'=>'您好，工号bv747即将为您服务，您前面还有1位，请稍后'));
//        $res = JsonPost('https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=' . $access_token, json_encode($data));
//        $this->ajaxReturn($res);
    }

}
